﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ServiceModel;
using SMS.Entities;

namespace SMS.Web.Service
{
    [ServiceContract(Namespace = "")]
    public interface ISaleService
    {
        [OperationContract]
        void DoWork();

        [OperationContract]
        SaleDetail GenerateSaleDetail(string userName, int Product_Stock_ID, out SMSException serviceError);

        [OperationContract]
        SaleHistory SaveSaleHistory(string userName, SaleHistory saleData, out SMSException serviceError);

        [OperationContract]
        decimal GetCustomerBalance(string userName, int customerID, out SMSException serviceError);

    }
}